frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: A live map showing the mood

https://mood2know.com/
1•gloussou•3m ago•0 comments

Display images in terminal Emacs (Emacs -nw) via the Kitty graphics protocol

https://github.com/cashmeredev/kitty-graphics.el
2•cashmere1337•6m ago•1 comments

60 Unicorns Have Fallen – State of the European Unicorns Ecosystem

https://thevcinsider.substack.com/p/state-of-the-european-unicorns-ecosystem
1•matthieu_bl•6m ago•0 comments

The State of AI in the Enterprise 2026

https://www.deloitte.com/us/en/what-we-do/capabilities/applied-artificial-intelligence/content/st...
1•swolpers•10m ago•0 comments

Show HN: Moveet – real-time fleet simulator with A* pathfinding on real roads

https://github.com/ivannovazzi/moveet
1•ivannovazzi•11m ago•0 comments

Claude 2028 – For a More Perfect Union

https://claude2028.org/
2•jonbaer•11m ago•0 comments

AutoKernel: Autoresearch for GPU Kernels

https://github.com/RightNow-AI/autokernel
5•frozenseven•16m ago•0 comments

Passkeys were supposed to replace passwords, but they're failing

https://www.howtogeek.com/passkeys-were-supposed-to-replace-passwords-but-theyre-failing-for-the-...
2•vdelitz•16m ago•1 comments

Zen Fascists Will Control You

https://www.ianbetteridge.com/zen-fascist-wi/
1•brunohaid•18m ago•0 comments

Compact-dict – a cache-local, linear probing hash map in Rust

https://github.com/gustawdaniel/compact-dict
3•gustawdaniel•19m ago•1 comments

Prisoner's Dilemma in World Baseball Classic for Mexico and Italy Threatens USA

2•travisjungroth•20m ago•0 comments

I'm going to build my own OpenClaw, with blackjack and bun

https://github.com/rcarmo/piclaw
7•rcarmo•21m ago•0 comments

I Reduced 5 hours of Testing my Agentic AI applcaition to 10 mins

https://github.com/onepaneai/mantis
1•ashmil•22m ago•1 comments

SpacetimeDB: A Short Technical Review

https://strn.cat/w/articles/spacetime/
1•quantumwoke•24m ago•0 comments

Show HN: Lightsecond Video Surveys

https://lightsecond.io/
2•dmonn•25m ago•0 comments

SpaceX launches 15K-pound TV satellite to orbit on its 30th mission of the year

https://www.space.com/space-exploration/launches-spacecraft/spacex-launches-15-000-pound-tv-satel...
2•Brajeshwar•26m ago•0 comments

Story of Weda Bay: How nature is being sacrificed for mining

https://www.theguardian.com/environment/ng-interactive/2026/mar/11/how-mining-threatens-the-world...
2•defrost•28m ago•0 comments

Download Xiaohongshu Video

https://downloadxiaohongshuvideo.com/
2•Evan233•30m ago•0 comments

C++26: The Oxford Variadic Comma

https://www.sandordargo.com/blog/2026/03/11/cpp26-oxford-variadic-comma
3•ingve•31m ago•0 comments

Axllm: DSPy for TypeScript

https://axllm.dev/
2•handfuloflight•32m ago•0 comments

Mathematics is undergoing the biggest change in its history

https://www.newscientist.com/article/2518526-mathematics-is-undergoing-the-biggest-change-in-its-...
5•jonbaer•33m ago•2 comments

Coding agents for production iOS: a senior engineer's setup for 2x the output

https://ignatovv.me/blog/coding-agents-for-production-ios/
3•tosh•33m ago•0 comments

Microsoft patents system for AI helpers to finish games for you

https://www.dexerto.com/gaming/microsoft-patents-system-for-ai-helpers-to-finish-games-for-you-33...
3•JeanKage•35m ago•0 comments

Millennium Challenge 2002

https://en.wikipedia.org/wiki/Millennium_Challenge_2002
1•vrganj•37m ago•0 comments

PromptVault free tool for multi agentic development

2•bohdokas•37m ago•0 comments

Ask HN: How to Plan for a Better GTM for a Digital SaaS Product B2B

1•sriramgonella•41m ago•0 comments

The 'number station' sending mystery messages to Iran

https://www.ft.com/content/86c4a4ca-ca06-4fc8-90fe-4f46357b804f
3•thm•41m ago•0 comments

White-Box Attacks on PhotoDNA Perceptual Hash Function

https://eprint.iacr.org/2026/486
1•_____k•43m ago•0 comments

Michael Faraday: Scientist and Nonconformist (1996)

http://silas.psfc.mit.edu/Faraday/
3•o4c•48m ago•0 comments

An open letter to Grammarly and other plagiarists, thieves and slop merchants

https://www.moryan.com/an-open-letter-to-grammarly-and-other-plagiarists-thieves-and-slop-merchants/
4•october8140•53m 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•10mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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