frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Everybody but Nvidia and TSMC Has to Make It Up in Volume with AI

https://www.nextplatform.com/2025/12/12/everybody-but-nvidia-and-tsmc-has-to-make-it-up-in-volume...
1•rbanffy•23s ago•0 comments

A trajectory-based approach to recommendation and search for creative content

https://zenodo.org/records/17847529
1•abhi_bhartiya•1m ago•1 comments

Sketch of Ideas in Geometry and Computing

https://nigelvr.github.io/post-1.html
1•nigelvr•3m ago•0 comments

SC25: Estimating AMD's Upcoming MI430X's FP64 and the Discovery Supercomputer

https://chipsandcheese.com/p/sc25-estimating-amds-upcoming-mi430xs
1•rbanffy•3m ago•0 comments

HarisLab – Free Developer Tools, Games and Productivity (No Ads)

https://harislab.tech/
1•Haris18•5m ago•0 comments

MCP Is a Fad

https://tombedor.dev/mcp-is-a-fad/
1•jjfoooo4•6m ago•1 comments

The Legacy of Nicaea

https://hedgehogreview.com/web-features/thr/posts/the-legacy-of-nicaea
1•diodorus•7m ago•0 comments

What happens when the coding becomes the least interesting part of the work

https://simonwillison.net/2025/Dec/13/obie-fernandez/
1•mmaunder•10m ago•1 comments

I created a publishing system for step-by-step coding guides in Typst

https://press.knowledge.dev/p/new-150-pages-rust-guide-create-a
1•deniskolodin•16m ago•1 comments

GPT-5.2 got worse on Terminal Bench 2.0, so is GPT-5.2 Pro

https://twitter.com/xdotli/status/1999915788061577588
1•xdotli•17m ago•1 comments

llamafile: Distribute and Run LLMs with a Single File

https://github.com/mozilla-ai/llamafile
2•stefankuehnel•19m ago•0 comments

Air passengers exposed to high levels of ultrafine particles, study

https://www.theguardian.com/environment/2025/dec/12/air-passengers-extremely-high-levels-ultrafin...
3•sampo•24m ago•0 comments

British Army could have avoided Ajax vehicle injuries, says whistleblower

https://www.thetimes.com/uk/defence/article/army-ajax-injuries-whistleblower-nqkk9dh8n
1•_dain_•25m ago•0 comments

The Land Trap by Mike Bird

https://progressandpoverty.substack.com/p/book-review-the-land-trap-by-mike
1•JumpCrisscross•28m ago•0 comments

Show HN: Chorus is now open source

https://github.com/meltylabs/chorus
1•Charlieholtz•37m ago•0 comments

Show HN: Soup.lua: making Lua do what it shouldn't

https://github.com/if-not-nil/soup/tree/main/lua
1•qwool•38m ago•0 comments

Where are all the Canadians going?

https://www.bbc.com/travel/article/20251211-where-are-all-the-canadians-going
2•neom•40m ago•0 comments

An Interesting Set of Artifacts

https://drive.google.com/drive/folders/18uXq5Leil2rAY5ICOfKGryRFyDFYMh80?usp=drive_link
1•d4rkn0d3z•41m ago•3 comments

Dick Van Dyke turns 100

https://www.theguardian.com/film/2025/dec/13/dick-van-dyke-centenarian-100-mary-poppins-chitty-ch...
18•thunderbong•43m ago•4 comments

Fast Sequence Iteration in Common Lisp

https://world-playground-deceit.net/blog/2025/12/fast-sequence-iteration-in-common-lisp.html
3•BoingBoomTschak•44m ago•0 comments

News broadcast reunited 10,189 families separated by war [video]

https://www.youtube.com/watch?v=Xt052H_kVuo
1•bane•51m ago•0 comments

Show HN: DAUT – AI-powered documentation generator for your codebase

https://github.com/2dogsandanerd/DAUT
1•2dogsanerd•1h ago•0 comments

Former Apple, Google designer: "Are we stuck with the same Desktop UX forever?" [video]

https://www.youtube.com/watch?v=1fZTOjd_bOQ
6•joelkesler•1h ago•3 comments

10-minute scan could help millions with hard-to-treat high blood pressure

https://medicalxpress.com/news/2025-11-minute-scan-millions-hard-high.html
1•PaulHoule•1h ago•0 comments

The Antitrust Case Against Airbnb

https://www.thesling.org/the-antitrust-case-against-airbnb/
3•ilamont•1h ago•0 comments

The Rust Reference – Behavior considered undefined

https://doc.rust-lang.org/reference/behavior-considered-undefined.html#behavior-considered-undefined
3•Brysonbw•1h ago•0 comments

Rutland mosaic depicts 'long-lost' Troy story

https://le.ac.uk/news/2025/december/rutland-mosaic-long-lost-troy-story
1•geox•1h ago•0 comments

Best of times, worst of times: record fossil-fuel profits, inflation

https://www.sciencedirect.com/science/article/pii/S2214629625003020
3•hackandthink•1h ago•0 comments

Nicer Rust Diagnostics for Neovim

https://github.com/alexpasmantier/krust.nvim
2•alexpasmantier•1h ago•0 comments

A proactive approach to more secure code

https://www.microsoft.com/en-us/msrc/blog/2019/07/a-proactive-approach-to-more-secure-code
2•Brysonbw•1h 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•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".