frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rethinking Time in Computation – From Wall Clocks to State Transitions

https://d1gesto.blogspot.com/2026/02/rethinking-time-in-computation-from.html
1•voxleone•36s ago•0 comments

The GitButler CLI

https://blog.gitbutler.com/but-cli
1•r5Khe•2m ago•0 comments

Zig on Windows: Prefer the Native API over Win32

https://codeberg.org/ziglang/zig/issues/31131
1•ingve•3m ago•0 comments

A text-driven medieval dynasty simulator with generational consequences

https://grinry.itch.io/bitter-lords
1•grinry•3m ago•1 comments

Grant Guidelines for Libraries and Museums Take "Chilling" Political Turn

https://www.propublica.org/article/institute-of-museum-and-library-services-grant-guidelines-dona...
1•hn_acker•7m ago•1 comments

AI Regex Scientist: A self-improving regex solver

1•PranoyP•7m ago•1 comments

AI – a proposal for AI that's on your side

https://r.github.io/Harbor/
1•themattharris•9m ago•0 comments

Field theory and the rise of ambition machines

https://www.fieldtheory.dev/theory.html
1•afar•9m ago•0 comments

Kimi K2.5

https://thezvi.substack.com/p/kimi-k25
1•paulpauper•9m ago•0 comments

Show HN: Agentism – Agentic Religion for Clawbots

https://www.agentism.church
1•uncanny_guzus•10m ago•0 comments

Russian general Vladimir Alekseyev shot several times in Moscow

https://www.bbc.com/news/articles/c3686nzexp3o
1•toomuchtodo•10m ago•1 comments

Epstein files reveal deeper ties to scientists than previously known

https://www.nature.com/articles/d41586-026-00388-0
1•bikenaga•12m ago•0 comments

Zen Hacker News

https://solomon.io/zen-hacker-news/
2•samsolomon•12m ago•0 comments

I drove three Chinese cars – here's why they would clean up in the US

https://www.theverge.com/transportation/873408/geely-zeekr-lynk-co-test-drive-china
2•cf100clunk•14m ago•0 comments

She's upending Japanese politics with two words: "I'm pregnant"

https://www.nytimes.com/2026/02/06/world/asia/japan-election-pregnant-candidate.html
1•binning•14m ago•0 comments

The Loneliest Rung

https://twitter.com/austinbv/status/2019825314365632530
1•austinbv•15m ago•0 comments

Flickr discloses potential data breach exposing users' names, emails

https://www.bleepingcomputer.com/news/security/flickr-discloses-potential-data-breach-exposing-us...
1•gslin•15m ago•0 comments

Christopher Nolan: Director, AI agent builder

https://darshdeep.substack.com/p/christopher-nolan-director-ai-agent
1•darshdeep351•15m ago•0 comments

Males are the Secondary Sex

https://designmom.substack.com/p/males-are-the-secondary-sex
1•binning•16m ago•0 comments

Google's Cyber Disruption Unit Kicks Its First Goal

https://www.lawfaremedia.org/article/google%27s-cyber-disruption-unit-kicks-its-first-goal
1•hn_acker•16m ago•0 comments

NASA astronauts will soon fly with the latest smartphones

https://twitter.com/NASAAdmin/status/2019259382962307393
1•tosh•17m ago•0 comments

Why all the bootstrapped AI consulting firms are hitting a –$4M ceiling

https://www.aienablementinsider.com/p/why-bootstrapped-ai-consulting-firms-get-stuck-at-4m-revenue
1•dylancollins•17m ago•0 comments

A portable ultrasound sensor may enable earlier detection of breast cancer

https://news.mit.edu/2026/portable-ultrasound-sensor-may-enable-earlier-detection-breast-cancer-0202
1•binning•17m ago•0 comments

I Put My Cat on a T-Shirt That References the Movie 'Hackers', You Can't Stop Me

https://defector.com/i-put-my-cat-on-a-t-shirt-that-references-the-movie-hackers-and-you-cant-sto...
1•dmschulman•18m ago•0 comments

Samsara SDKs Generated by Fern

https://github.com/samsarahq/samsara-dotnet/pulls
1•shoinker•18m ago•0 comments

Incident: SAS A20N at Brussels on Feb 5th 2026, attempted takeoff from taxiway

https://avherald.com/h?article=5345bfac&opt=0
1•hggh•20m ago•0 comments

We Didn't Ask for This Internet

https://www.nytimes.com/2026/02/06/opinion/ezra-klein-podcast-doctorow-wu.html
3•7402•20m ago•1 comments

Spider monkeys found to share 'insider knowledge' to help locate best food

https://www.theguardian.com/science/2026/jan/25/spider-monkeys-found-to-share-insider-knowledge-t...
1•PaulHoule•24m ago•0 comments

The Panic That Built WeChat's $700B Super-App

https://howardyu.substack.com/p/the-panic-that-built-wechats-700
1•pieterr•27m ago•0 comments

Fear and Loathing in America by Hunter S. Thompson

https://www.espn.com/espn/page2/story?id=1250751
1•yesbabyyes•27m 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".