frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

No more O'Reilly subscriptions for me

https://zerokspot.com/weblog/2025/12/05/no-more-oreilly-subscriptions-for-me/
1•speckx•32s ago•0 comments

Kimchi dietary intervention modulates human antigen-presenting and CD4T cells

https://idp.nature.com/authorize?response_type=cookie&client_id=grover&redirect_uri=https%3A%2F%2...
1•bookofjoe•57s ago•0 comments

Four Things to Know About Hybrid Air Denial

https://www.lawfaremedia.org/article/four-things-to-know-about-hybrid-air-denial
1•hn_acker•1m ago•0 comments

With Detty December still loading, Tidy December is revving

1•FotizoPhronesis•2m ago•0 comments

Authenticity Is a Trap

https://octopusyarn.substack.com/p/authenticity-is-a-trap
2•eatitraw•3m ago•0 comments

Meilisearch: Speeding up vector search 10x with Hannoy

https://blog.kerollmops.com/from-trees-to-graphs-speeding-up-vector-search-10x-with-hannoy
2•Kerollmops•6m ago•0 comments

Fuck RAM Limits 50M Persistent Nodes on a $199 Jetson (186 ns, CPU-only)

https://ryjoxdemo.com/demo
2•JosephjackJR•6m ago•1 comments

Show HN: AlignTrue CLI – Sync AI rules/syst. prompts across agents, repos, teams

https://aligntrue.ai
1•gmays•8m ago•0 comments

Amazon S3 Vectors

https://aws.amazon.com/s3/features/vectors/
1•mooreds•8m ago•0 comments

Show HN: Diddy Invaders – Coding took 30 mins, finding memes took 2 hours

https://d7g13mep.outbox.website/
1•bingwu1995•8m ago•1 comments

LibGPUCounters Machine Readable Specification

https://github.com/ARM-software/libGPUCounters/tree/main/specification
1•ibobev•8m ago•0 comments

PostgreSQL, MongoDB, and what "cannot scale" means

https://stormatics.tech/blogs/postgresql-mongodb-and-what-cannot-scale-really-means
4•camille_134•9m ago•0 comments

AMD GPU Debugger

https://thegeeko.me/blog/amd-gpu-debugging/
5•ibobev•9m ago•0 comments

Minimalist ray-tracing leveraging only acceleration structures

https://anki3d.org/minimalist-ray-tracing-leveraging-only-acceleration-structures/
1•ibobev•9m ago•0 comments

Working in 2 startup at the same time

1•rafruf•10m ago•1 comments

Account Linking

https://ciamweekly.substack.com/p/account-linking
1•mooreds•10m ago•0 comments

The Overton Window

https://fffej.substack.com/p/the-overton-window
1•mooreds•11m ago•0 comments

Horses: Steady progress in automation makes for sudden transitions

https://andyljones.com/posts/horses.html
1•andyljones•11m ago•0 comments

LLM Weights vs. the Papercuts of Corporate

https://ghuntley.com/papercuts/
1•ghuntley•12m ago•0 comments

White storks to make historic return to London in 2026

https://www.theguardian.com/environment/2025/dec/08/white-storks-return-london-barking-and-dagenh...
2•zeristor•12m ago•0 comments

EU Says Meta Will Change Ads Policy After €200M Fine

https://www.bloomberg.com/news/articles/2025-12-08/eu-says-meta-will-change-ads-policy-after-200-...
2•TechTechTech•12m ago•0 comments

With Trainium4, AWS Will Crank Up Everything but the Clocks

https://www.nextplatform.com/2025/12/03/with-trainium4-aws-will-crank-up-everything-but-the-clocks/
1•rbanffy•13m ago•0 comments

New computing platform is 'Made for Making' – Caligra c100 Developer Terminal

https://www.tomshardware.com/software/linux/new-computing-platform-is-made-for-making-caligra-c10...
1•rbanffy•15m ago•2 comments

Spoof a local mail server to bypass Outlook for Mac's mandatory sign‑in

https://tinyapps.org/blog/spoof-email-server.html
1•speckx•15m ago•0 comments

America Is Flying Blind on Immigration

https://www.apricitas.io/p/america-is-flying-blind-on-immigration
2•m-hodges•17m ago•0 comments

Meta considering cuts to Metaverse division

https://daringfireball.net/2025/12/meta_says_fuck_that_metaverse_shit
1•linhns•19m ago•0 comments

Can ChatGPT Land an Airplane?

https://www.youtube.com/watch?v=TLMBu0KxTnU
1•sacs0ni•20m ago•0 comments

Saudi Arabia Will Sell You Alcohol Now, If You're Rich Enough

https://www.nytimes.com/2025/12/06/world/middleeast/saudi-arabia-alcohol-riyadh-store.html
1•bookofjoe•21m ago•1 comments

AWS Graviton5 Strikes a Different Balance for Server CPUs

https://www.nextplatform.com/2025/12/04/aws-graviton5-strikes-a-different-balance-for-server-cpus/
2•rbanffy•21m ago•0 comments

Paramount launches $108.4B hostile bid for Warner Bros Discovery

https://www.theguardian.com/business/2025/dec/08/paramount-skydance-warner-bros-bid
1•n1b0m•21m 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•7mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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