frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A mass archive of weird, wonderful websites

https://www.are.na/tom/www-t_kopepmelw
1•Gecko4072•16s ago•0 comments

Keeping teams on one AI harness

https://baselane.sh/blog/keeping-teams-on-one-harness/
1•mohammad0omar•22s ago•0 comments

Airbus migrating 70 critical apps from AWS to Scaleway amid digital sovereignty

https://www.theregister.com/paas-and-iaas/2026/07/16/airbus-migrating-70-critical-apps-from-aws-t...
2•_____k•5m ago•0 comments

Narcissistic leaders more likely to oppose remote work, new research suggests

https://www.cbc.ca/news/business/study-remote-work-narcissism-9.7275176
4•robtherobber•9m ago•0 comments

Proving That America Can Still Do Big Things

https://time.com/article/2026/07/19/2026-world-cup-proved-america-can-still-do-big-things/
2•sudo_cowsay•11m ago•0 comments

Making models smarter and cheaper at the same time

1•Wetime•15m ago•1 comments

VS Code Lets You Add Page Elements to Copilot, So I Built It for Any AI Agent

https://medium.com/@marcbuilds/i-built-a-vs-code-extension-that-lets-you-click-a-web-page-element...
1•MarcBuilds01•15m ago•0 comments

Finding zombies in our systems: A real-world story of CPU bottlenecks

https://medium.com/pinterest-engineering/finding-zombies-in-our-systems-a-real-world-story-of-cpu...
2•birdculture•27m ago•0 comments

France doubles down on restricting access to Polymarketre

https://www.engadget.com/2218130/france-doubles-down-on-restricting-access-to-polymarket/
2•01-_-•35m ago•0 comments

Apple probably won't add Jony Ive to OpenAI trade secret theft suit

https://appleinsider.com/articles/26/07/19/apple-probably-wont-add-jony-ive-to-openai-trade-secre...
2•01-_-•37m ago•0 comments

AI Data Center Power Constraints Are the Real 2026 Bottleneck

https://www.spheron.network/blog/ai-data-center-power-constraints-2026/
1•DaWe01•37m ago•2 comments

Effective Patterns for Advanced MCP Usage

https://www.pulsemcp.com/posts/effective-patterns-for-advanced-mcp-usage
1•mfbx9da4•38m ago•0 comments

Congress Trades: Which US politician is trading now

https://apify.com/russet_flea/congress-trades-api
1•Kavon2992•45m ago•0 comments

Free GPT 5.6 Terra and Luna (2.5M/day) & 250k Sol – free experiments

https://platform.openai.com/settings/organization/data-controls/sharing
1•radio879•47m ago•1 comments

Podcast Feed from NotebookLM Summaries

https://shivamrana.me/2026/07/class-of-one/
1•tminima•47m ago•0 comments

Kimi K3 Why Washington Is Watching

https://www.bargo.ai/research/kimi-k3-frontend-code-arena-benchmark-policy
2•Kavon2992•47m ago•0 comments

Exploit brokers pay $500k for WordPress RCEs. I found one with GPT5.6 and $25

https://slcyber.io/research-center/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-wit...
7•infosecau•50m ago•0 comments

Show HN: Growth-Ratio Energy Function as Leading Indicator of Agent Task Failure

https://github.com/vishal-dehurdle/state-harness
1•visha1v•52m ago•0 comments

The Search for Another Earth-Like Planet Just Took a Big Step Forward

https://www.wired.com/story/search-for-earth-like-planet-step-forward/
2•beardyw•52m ago•2 comments

Topological Control of LLMs: A Route to Trustworthy AI

https://cacm.acm.org/blogcacm/topological-control-of-llms-a-route-to-trustworthy-ai/
1•visha1v•53m ago•0 comments

The Dawn of AI Change-Control

https://cacm.acm.org/news/the-dawn-of-ai-change-control/
1•visha1v•54m ago•0 comments

Amsterdam activists throw acid at Microsoft datacenter project

https://www.theregister.com/ai-and-ml/2026/07/16/amsterdam-activists-throw-acid-at-microsoft-data...
2•vrganj•57m ago•0 comments

Show HN: Run all your sites SEO on autopilot (boldpilot.club)

https://boldpilot.club
1•Utopyasz•57m ago•1 comments

Show HN: A pi extension that adds a /for prompt-loop with $each insertion

https://pi.dev/packages/pi-for-each
1•jejay•57m ago•0 comments

MSE-GLM – A Deterministic Zero-Weight Graph Language Model

https://github.com/fodokidza/mse_glm
1•clifffodokidza•57m ago•0 comments

Obsidian stores notes privately on your device

https://obsidian.md/
2•doener•1h ago•0 comments

Show HN: The Hanoi Tree

https://avl-games.com/
1•berardino•1h ago•2 comments

Trump pushes UN 'free speech' declaration in veiled attack on EU tech regulation

https://www.politico.eu/article/trump-administration-will-push-un-free-speech-declaration-that-ta...
3•thm•1h ago•0 comments

Make every row and column a group of three

https://sixfold.pwheslop.com
1•michaelbrooks•1h ago•1 comments

Java was a three-day hotfix away from dying horribly on stage

https://www.theregister.com/devops/2026/07/18/java-was-a-three-day-hotfix-away-from-dying-horribl...
1•beardyw•1h 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•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".