frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SprintiQ – open-source sprint planning for Claude Code

https://github.com/SprintiQ-Incorporated/sprintiq
1•sprintiq•2m ago•0 comments

One Map Key, One Lookup

https://testing.googleblog.com/2026/04/one-map-key-one-lookup.html
2•birdculture•5m ago•0 comments

Must We 'Do Lunch'?

https://www.ft.com/content/13265324-7614-40a2-a3f6-0066ffb83c21
1•JumpCrisscross•7m ago•0 comments

Nothing Is Something

https://blog.jim-nielsen.com/2024/nothing-is-something/
2•SpyCoder77•7m ago•0 comments

HeadVis: An Interactive Tool for Investigating Attention Heads

https://transformer-circuits.pub/2026/headvis/index.html
2•rajeevn•13m ago•0 comments

Powerful AI finds 100 hidden planets in NASA data including extreme worlds

https://www.sciencedaily.com/releases/2026/05/260502233926.htm
3•bilsbie•16m ago•0 comments

Version-controlled databases using Prolly trees

https://lwn.net/SubscriberLink/1068864/4d53e651a1254bce/
1•zorgmonkey•17m ago•0 comments

Show HN: Node-Vmm – Linux MicroVMs in Pure Node.js for Mac/Windows/Linux in ~1s

https://github.com/misaelzapata/node-vmm
3•misaelzapata•17m ago•0 comments

Show HN: AI that responds in Star Wars crawl style

https://may-the-4th-gpt.vercel.app/
1•zahlekhan•18m ago•0 comments

Garage Sale Tracker App

https://www.garagesaletracker.app/
1•mmfp•21m ago•1 comments

The Valley of Calm

https://blog.joemag.dev/2026/05/the-valley-of-calm.html
1•matt_d•22m ago•0 comments

HyperFrames lets AI agents compose videos by writing HTML, CSS and JavaScript

https://hyperframes.heygen.com
2•siegers•25m ago•0 comments

Contracting (2005)

https://www.mooreds.com/wordpress/archives/297
1•mooreds•26m ago•0 comments

Knowledge Fight: The End of the Road

https://knowledgefight.libsyn.com/
3•cosmicgadget•28m ago•1 comments

What It's Like to Use Discourse in Another Language

https://blog.discourse.org/2026/05/what-its-actually-like-to-use-discourse-in-another-language/
1•joanwestenberg•31m ago•0 comments

Code Was Never for Machines – Until Now

https://skiplabs.io/blog/future_of_tools_for_ai
1•vinipolicena•32m ago•0 comments

Delta: Browser-based F1 pit wall with 3D replay and telemetry compare

https://github.com/misha-met/Delta
1•misham21412•37m ago•1 comments

Shelley: Mobile-friendly, web-based, multi-modal, single-user coding agent

https://github.com/boldsoftware/shelley
3•indigodaddy•41m ago•0 comments

Optical Storage in 2026: Dead or Dead Useful? [video]

https://www.youtube.com/watch?v=OX2SPQEPlk8
2•dsego•43m ago•0 comments

Researchers Asked LLMs for Strategic Advice. They Got "Trendslop" in Return

https://hbr.org/2026/03/researchers-asked-llms-for-strategic-advice-they-got-trendslop-in-return
1•johnbarron•44m ago•1 comments

Show HN: I indexed 8,643 BSides talks across 227 chapters and 6 continents

https://allbsides.com/
2•Parkado•44m ago•0 comments

Recapping Cap Table?

2•survivorhero•45m ago•0 comments

The Quest to Chart the Sea

https://www.economist.com/interactive/international/2025/12/22/the-quest-to-chart-the-sea
1•gmays•46m ago•0 comments

Show HN: Dust3D 1.0 – low-poly 3D modeling tool (10 years in the making)

https://dust3d.org
3•huxingyi•46m ago•0 comments

Authentication Flaw in Totolink N300RH Enables Remote Buffer Overflow

https://nvd.nist.gov/vuln/detail/CVE-2026-7747
1•abdullahalharir•48m ago•0 comments

Microsoft fixes VS Code after app gives Copilot credit for human's work

https://www.theregister.com/2026/05/04/microsoft_reverses_ai_credit_grab/
4•AgentNews•49m ago•0 comments

Ask HN: What product failed for you–and what went wrong?

2•xnslx•50m ago•0 comments

New Zealand passes solar tipping point

https://www.rnz.co.nz/news/business/594242/new-zealand-passes-solar-tipping-point
4•billybuckwheat•51m ago•1 comments

Show HN: Smile-Serve – Inference Server for ML, ONNX, and LLM

https://github.com/haifengl/smile/tree/master/serve
2•haifeng•52m ago•0 comments

What do we lose when AI does our work?

https://rickyyean.com/2026/05/04/what-do-we-lose-when-ai-does-our-work/
15•rickyyean•57m ago•5 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•12mo ago
It missed "git switch" and "git restore".