frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The "Bermuda Triangle" and the Growing Risk in the Insurance Markets

https://natlawreview.com/article/bermuda-triangle-and-growing-risk-insurance-markets
1•petethomas•26s ago•0 comments

GoFundMe Ignores Rules Hosting Legal Fund for ICE Agent Who Killed Renee Good

https://www.wired.com/story/gofundme-ice-jonathan-ross-renee-good-fundraiser/
1•cdrnsf•1m ago•0 comments

Map Your API Landscape to Prevent Agentic AI Disaster

https://thenewstack.io/map-your-api-landscape-to-prevent-agentic-ai-disaster/
1•chhum•3m ago•0 comments

GitHub not showing that apps "act on your behalf" when only logging in

https://github.blog/changelog/2026-01-12-selectively-showing-act-on-your-behalf-warning-for-githu...
1•gregsadetsky•4m ago•0 comments

YAML? That's Norway Problem

https://lab174.com/blog/202601-yaml-norway/
1•thes1lv3r•4m ago•0 comments

China Just Built Its Own Time System for the Moon

https://gizmodo.com/china-just-built-its-own-time-system-for-the-moon-2000708991
1•hunglee2•5m ago•0 comments

Mars's big impact on Earth's climate: How the red planet's pull shapes ice ages

https://phys.org/news/2026-01-tiny-mars-big-impact-earth.html
1•bikenaga•7m ago•0 comments

Ask HN: Speculate About a Hypothetical Cyber Exploit That Would Leverage AI

1•burnerToBetOut•8m ago•0 comments

Data-Dividend Calculator

https://delightful-maamoul-98e039.netlify.app
1•KillswitchAI•8m ago•0 comments

I built an ingestion engine because I hate mundane tasks

1•scannyai•9m ago•0 comments

Dialectics for Artificial Intelligence

https://arxiv.org/abs/2512.17373
1•xiaoniu•9m ago•0 comments

Even Linus Torvalds is vibe coding now

https://www.zdnet.com/article/linus-torvalds-vibe-coding-ai/
1•CrankyBear•10m ago•0 comments

Do you know how much money social apps make from your time

https://www.urtheproduct.com
4•ClipNoteBook•11m ago•2 comments

Danish dev delights kid by turning floppy drive into easy TV remote

https://www.theregister.com/2026/01/12/danish_dev_floppy_drive_remote/
1•defrost•12m ago•0 comments

Transactional AI: Saga Pattern for Reliable AI Agent Workflows (v0.2)

https://github.com/Grafikui/Transactional-ai
2•grafikui•12m ago•1 comments

Wine 11.0 Planned for Release Tomorrow with NTSync Support, Better WoW64

https://www.phoronix.com/news/Wine-11.0-Tomorrow
2•mikece•12m ago•0 comments

99% of Heart Attacks and Strokes Linked to 4 Risk Factors

https://www.sciencealert.com/huge-study-links-99-of-heart-attacks-and-strokes-with-4-risk-factors
2•Gaishan•14m ago•0 comments

Ask HN: Are you using agents for refactorings?

1•suralind•15m ago•0 comments

Green Corn Ceremony

https://encyclopediaofalabama.org/article/green-corn-ceremony/
1•foster_nyman•15m ago•0 comments

Climate misinformation is threatening Canada's national security

https://thenarwhal.ca/climate-misinformation-national-security/
3•Teever•19m ago•0 comments

Workflow Description Language (WDL) 1.3

https://openwdl.org/wdl/bioinformatics/workflows/announcing-wdl-1-3-0/
1•azhenley•21m ago•0 comments

What's on HTTP?

https://whatsonhttp.com/
1•elixx•23m ago•0 comments

Seniority Is Clarity Not Cleverness

https://dontbreakprod.com/posts/seniority-is-clarity-not-cleverness
2•dorkrawk•25m ago•0 comments

I Taught Myself to Code on a Cracked Android Phone. Now I Can't Get Hired

https://www.rly0nheart.com/posts/life/i-taught-myself-to-code-on-a-cracked-android-phone-now-i-ca...
17•boyter•33m ago•2 comments

Abuse report review pending for a month now

https://community.cloudflare.com/t/abuse-report-review-pending-for-a-month-now/876217
1•mritzmann•34m ago•0 comments

First open-source UCP merchant sandbox – test your AI shopping agents

https://github.com/steven2030/ucp-merchant
2•Stevenochs•34m ago•1 comments

Nvidia: Using Context as Training Data Unlocks Models That Learn at Test-Time

https://developer.nvidia.com/blog/reimagining-llm-memory-using-context-as-training-data-unlocks-m...
1•ashvardanian•34m ago•0 comments

A Hidden Blob of Water Has Abruptly Reappeared in the Atlantic

https://www.popularmechanics.com/science/environment/a69975772/atlantic-equitorial-water-found/
2•kayo_20211030•35m ago•0 comments

Productivity

https://en.wiktionary.org/wiki/productivity
1•downboots•37m ago•2 comments

Aligning Games and Sets in Determining Tennis Matches

https://www.nyu.edu/about/news-publications/news/2026/january/aligning-games-and-sets-in-determin...
1•geox•37m 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•8mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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