frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Wix cuts 20% of workforce in AI and currency restructuring

https://thenextweb.com/news/wix-is-cutting-20-of-its-workforce-as-a-strong-shekel-and-ai-competit...
1•thm•8s ago•0 comments

The Supernova That Sparked the Original Scientific Revolution

https://nautil.us/the-supernova-that-sparked-the-original-scientific-revolution-1281459
1•Brajeshwar•20s ago•0 comments

Which of these two videos is a better YC founder video

https://intro-showdown-184435192019.europe-west2.run.app
1•spookyuser•27s ago•0 comments

Show HN: A SaaS tagline critic that runs in the browser

https://standd-tagline-rater.static.hf.space/index.html
1•trashhalo•1m ago•0 comments

The revolution in running agents 24/7

https://theopenclaws.com/
1•lackoftactics•2m ago•1 comments

Concerning Emacs (and Jazz)

https://omidmash.de/blog/concerning-emacs
1•spudlyo•3m ago•0 comments

Australia sues US giant 3M over 'forever chemicals' in firefighting foam

https://www.bbc.com/news/articles/c3w2yl3p97qo
1•breve•3m ago•0 comments

Show HN: Enough, an Agent Harness for Writers

https://github.com/0gsd/enough
1•0gs•4m ago•1 comments

Helium developer wukko critiques Brave Browser's default settings and bloat

https://twitter.com/uwukko/status/2059964727279689905
1•twapi•4m ago•0 comments

The world's carmakers are struggling to compete with China

https://www.bbc.com/news/articles/c4g8vg72z43o
2•breve•4m ago•0 comments

Gerd Faltings – Official Abel Prize laureate portrait 2026 [video]

https://www.youtube.com/watch?v=O8gqrsYY3eY
1•furcyd•5m ago•0 comments

Archaeologists Extracted a Pristine Leather Notebook from a Medieval Latrine

https://www.smithsonianmag.com/smart-news/from-a-medieval-latrine-in-germany-archaeologists-extra...
2•speckx•5m ago•0 comments

Anthropic to boost hiring in Europe after opening Milan office

https://www.reuters.com/business/anthropic-boost-hiring-europe-after-opening-milan-office-2026-05...
1•tartoran•5m ago•0 comments

Finding Miscompiles for Fun, Not Profit

https://newsletter.semianalysis.com/p/finding-miscompiles-for-fun-not-profit
1•bwfan123•5m ago•0 comments

Take the builder's mindset self-assessment

https://dazzling-centaur-6750aa.netlify.app/
1•ggorlin•6m ago•0 comments

Enterprises Are Counting Tokens Because They Can't Measure Value

https://twitter.com/jqdsouza/status/2060002135476232654
2•jqdsouza•9m ago•0 comments

Celebrities are telling women to use more AI or be 'left behind.'

https://www.cbc.ca/news/entertainment/women-celebrities-ai-9.7213256
2•andy99•9m ago•0 comments

Political Velocity

https://protortyp.github.io/posts/political-velocity/
2•protortyp•10m ago•1 comments

Show HN: Ktx – Open-source executable context layer for data agents

https://github.com/Kaelio/ktx
2•lucamrtl•12m ago•0 comments

Teaching coding agents to debug Rails memory issues with derailed_benchmarks

https://www.superconductor.com/blog/memory-leak-coding-agents
1•ibrahima•12m ago•0 comments

Claude Code hook that plays a random sound on negative feedback

https://github.com/theletterf/defensive-hook
1•theletterf•12m ago•1 comments

Circuit Board Can Rewire Itself

https://www.eejournal.com/article/this-circuit-board-can-rewire-itself/
1•awithrow•12m ago•0 comments

Ship of Theseus

https://en.wikipedia.org/wiki/Ship_of_Theseus
2•chistev•14m ago•1 comments

Incognito Chat with Meta AI: a private way to chat with AI

https://blog.whatsapp.com/introducing-incognito-chat-with-meta-ai-a-completely-private-way-to-cha...
2•commandersaki•15m ago•1 comments

RAM-Mageddon – Memory price comparison

https://ram-mageddon.com/
1•BrunoVT1992•15m ago•1 comments

SQLite Agents.md

https://github.com/sqlite/sqlite/blob/master/AGENTS.md
2•Brajeshwar•15m ago•0 comments

IBM and Red Hat Commit $5B to Redefine the Future of Open Source in the AI Era

https://www.redhat.com/en/about/press-releases/project-lightwell-secure-open-source
1•fredski42•16m ago•0 comments

Ask HN: Why is problem solving in math still important in the AI age?

2•amichail•17m ago•1 comments

Spotify CEO defends AI music, wants you to stop calling it 'slop'

https://www.neowin.net/news/spotify-ceo-defends-ai-music-wants-you-to-stop-calling-it-slop/
3•bundie•17m ago•2 comments

AI Didn't Create These Problems. It Just Stopped Routing Around Them

https://baweaver.com/writing/2026/05/27/ai-didnt-create-these-problems/
2•kurinikku•19m 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".