frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Why do so many people dislike the Opera browser?

1•tavro•17s ago•0 comments

Show HN: Sniptail – Turn Slack into a team interface for AI coding agents

https://github.com/Justkog/sniptail
1•Justkog•34s ago•0 comments

How to teach Claude to write better code

https://www.ponylang.io/blog/2026/02/teaching-claude-to-write-pony/
1•carlsverre•1m ago•0 comments

Urgent recall for trendy supplement over contamination with deadly bacteria

https://www.dailymail.co.uk/health/article-15571317/Urgent-recall-trendy-supplement-moringa-salmo...
1•Bender•1m ago•0 comments

Show HN: Data Processing Recipes for Edge Computing and AI Agents

1•TheIronYuppie•1m ago•0 comments

We need to act with urgency to address the growing AI divide

https://blogs.microsoft.com/on-the-issues/2026/02/17/acting-with-urgency-to-address-the-growing-a...
1•layer8•3m ago•0 comments

How Personal AI Agents and Agent Orchestrators Like OpenClaw or GasTown Are Made

https://gist.github.com/championswimmer/bd0a45f0b1482cb7181d922fd94ab978
1•simonpure•4m ago•0 comments

Notes on Clarifying Man Pages

https://jvns.ca/blog/2026/02/18/man-pages/
1•surprisetalk•4m ago•0 comments

Tesla avoids 30-day California sales suspension

https://electrek.co/2026/02/18/tesla-avoids-30-day-california-sales-suspension-after-dropping-mis...
1•Bender•4m ago•1 comments

Show HN: NarrateNow – Add AI audio to any blog post with a single script tag

https://narratenow.app
2•JoshTheNerd•5m ago•0 comments

Minimalist Design for Space Camera Flight Software

https://queue.acm.org/detail.cfm?id=3786613
2•matt_d•6m ago•0 comments

Turbocharging PostgreSQL Listen/Notify with 40x Boost

https://www.robins.in/2026/01/turbocharging-listennotify-with-40x.html
2•tanelpoder•6m ago•0 comments

Thinking Improves Thinking

https://idiallo.com/blog/taking-our-mind-for-granted
2•foxfired•6m ago•0 comments

PatchworkMCP – Agents report what's missing from your MCP server

https://github.com/keyton-weissinger/patchworkmcp
2•keytonw•7m ago•1 comments

How did we end up threatening our kids' lives with AI?

https://www.anildash.com/2026/02/18/threatening-kids-with-ai/
3•speckx•10m ago•0 comments

Next-single-file – Make a Next.js project into one HTML file with Regex (0 deps)

https://github.com/simples-tools/next-single-file
2•brrock•11m ago•0 comments

Rtk – High-performance CLI proxy to minimize LLM token consumption

https://github.com/rtk-ai/rtk
2•giancarlostoro•11m ago•0 comments

Monado at the Core of Android XR

https://www.collabora.com/news-and-blog/news-and-events/monado-at-the-core-of-android-xr.html
2•losgehts•12m ago•0 comments

Donald Trump's AI push fuels revolt in Maga heartlands

https://www.ft.com/content/0c9ec7b1-f9a6-41db-9493-3ff09f6943ef
2•zerosizedweasle•12m ago•0 comments

Hiring: Senior Web/Mobile Medical Device Engineer

https://innolitics.com/join/senior-web-mobile-medical-device-engineer/
2•prahlaad•14m ago•1 comments

Pestraid Kenya

https://pestraid.co.ke/
2•shemmwaka•14m ago•1 comments

Show HN: SVO Voxelization for Gaussian Splat Collisions

https://old.reddit.com/r/GaussianSplatting/comments/1r85wsx/svo_voxelization_for_gaussian_splat_c...
2•slimbuck•15m ago•0 comments

Updating the Verge's Background Policy

https://www.theverge.com/press-room/22772113/the-verge-on-background-policy-update
3•eric_h•16m ago•0 comments

Atlassian freezes hiring amid global software sell-off

https://www.afr.com/technology/atlassian-freezes-hiring-amid-global-software-sell-off-20260216-p5...
2•TMWNN•16m ago•0 comments

Hashgrid MCP – Discovery Network for Agents

https://github.com/hashgrid-labs/sdk/tree/main/mcp
2•bicsi•16m ago•1 comments

My Honest Views

https://colinmcginn.net/my-honest-views/
2•bookofjoe•16m ago•0 comments

Private Software Companies Release Earnings Early to Calm AI Nerves

https://www.bloomberg.com/news/articles/2026-02-17/private-software-companies-open-their-books-ea...
2•TMWNN•17m ago•0 comments

WebWorld: A Large-Scale World Model for Web Agent Training

https://arxiv.org/abs/2602.14721
2•gmays•22m ago•0 comments

Microsoft team creates 'revolutionary' data storage system that lasts millennia

https://www.nature.com/articles/d41586-026-00502-2
5•gnabgib•22m ago•1 comments

The political effects of X's feed algorithm

https://werd.io/the-political-effects-of-xs-feed-algorithm/
5•benwerd•23m 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•9mo ago

Comments

epmatsw•9mo ago
restore and maybe switch are the two missing ones I think. Rebase for me, but that’s preference. Cherry-pick too.
rentonl•9mo ago
my co-workers used to think I was an expert in git. In reality, they memorized 7 commands while I memorized 15
hbogert•9mo ago
i memorized that a commit tree is a ordered set of patches. Everything goes from there.
Areibman•9mo ago
In similar fashion, this site has saved me countless hours fixing common git issues https://ohshitgit.com
the__alchemist•9mo ago
I need to alias:

  git add .
  git commit -am "descriptive name"
  git push

to:

  git sync "descriptive name"
horsawlarway•9mo 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•9mo 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•9mo 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•9mo ago
That sounds better but I like the granularity I get from scrutinizing specific files or the patch takes too long to review.
speff•9mo 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•9mo 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•9mo 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•9mo ago
Maybe not essential, but reflog is invaluable.

I also like to separate fetch from pull (fetch + merge).

foobarkey•9mo ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

seba_dos1•9mo ago
Both are essential.
realaleris149•9mo ago
There are other commands?
incomplete•9mo 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•9mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•9mo ago
It missed "git switch" and "git restore".