frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pompeii of the Midwest

https://en.wikipedia.org/wiki/Singapore,_Michigan
1•avonmach•1m ago•0 comments

Show HN: Free GamePlay Video Generator Tool (Inreels.ai)

https://www.inreels.ai/tools/free-roblox-video-maker
1•Onekiran•1m ago•0 comments

Black-box concurrent data structures for NUMA architectures [pdf]

https://cs.brown.edu/~irina/papers/asplos2017-final.pdf
1•fanf2•2m ago•0 comments

Show HN: I added a print edition to my indie blog

https://www.contraption.co/introducing-the-print-edition/
2•philip1209•2m ago•1 comments

Terrain Diffusion: A Diffusion-Based Successor to Perlin Noise

https://arxiv.org/abs/2512.08309
1•kelseyfrog•6m ago•0 comments

Show HN: BlazeInvoice – Self-hosted invoice generator ($39, one-time)

https://mendexio.gumroad.com/l/blazeinvoice
1•mendexio•7m ago•1 comments

Akira ransomware: FBI tallies 250M in payouts

https://databreaches.net/2025/12/10/akira-ransomware-fbi-tallies-250-million-in-payouts/
1•abnercoimbre•7m ago•1 comments

No-Tifier (2017)

https://subject.space/projects/no-tifier/
1•aebtebeten•8m ago•0 comments

We Should Live Forever

https://stas.love/e/forever.html
1•seletskiy•8m ago•0 comments

Mycenaean roads in Peloponnese: Least-cost path modelling using R and Movecost

https://www.sciencedirect.com/science/article/pii/S0305440325002638
1•bryanrasmussen•8m ago•0 comments

I Reverse Engineered ChatGPT's Memory System, and Here's What I Found

https://manthanguptaa.in/posts/chatgpt_memory/
1•FragrantRiver•8m ago•0 comments

Apple may have made it almost impossible for governments to ban iMessage

https://9to5mac.com/2025/12/10/apple-may-have-accidentally-made-it-almost-impossible-for-governme...
2•akyuu•10m ago•1 comments

Cursor Introduces Debug Mode

https://cursor.com/blog/debug-mode
1•ryanvogel•11m 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•11m ago•0 comments

Circom-chan: zkSNARK circuit compiler

https://github.com/Monero-Chan-Foundation/circom-chan
1•badcryptobitch•12m ago•0 comments

Immigration Data Dragnet

https://www.ft.com/register/access
2•DyslexicAtheist•13m ago•0 comments

30 Years Ago Windows 95 Changed Everything

https://www.goto10retro.com/p/30-years-ago-windows-95-changed-everything
2•rbanffy•14m ago•0 comments

The Optics and Image Processing Behind Fundus Cameras

https://www.youtube.com/watch?v=EvTolqbCHXo
1•hyperific•14m ago•0 comments

Steps Recorder Deprecation (2023)

https://support.microsoft.com/en-us/windows/steps-recorder-deprecation-a64888d7-8482-4965-8ce3-25...
1•bariumbitmap•15m ago•0 comments

How to Train Yourself to Have Lucid Dreams Through VR

https://wjamesau.substack.com/p/have-a-vr-headset-heres-how-to-train
1•SLHamlet•15m ago•0 comments

How to Use Trending Topic and Keyword Finder

https://metaconvert.blogspot.com/2025/12/how-to-use-trending-topic-and-keyword-finder.html
1•MetaConvert•18m ago•0 comments

Compressing Embedded Files in Go

https://vincent.bernat.ch/en/blog/2025-go-embed-compressed
1•todsacerdoti•19m ago•0 comments

Python Software Foundation end-of-year fundraiser

https://donate.python.org
1•CaliforniaKarl•20m ago•0 comments

Intermittent Hypoxia Increases Blood Flow and Benefits Executive Function

https://onlinelibrary.wiley.com/doi/10.1111/psyp.70161
3•PaulHoule•20m ago•0 comments

Just Right FM

https://justright.fm/
1•ddrscott•20m ago•0 comments

1Crossword: Crosswords for Your Password Manager

https://eieio.games/blog/1Crossword/
1•jstyles•22m ago•0 comments

Show HN: We open-sourced our internal tool for scoring PRs with Claude AI

https://github.com/MergeMint/mergemint-app
2•textcortex•24m ago•0 comments

SAGE: Semi-Automatic Ground Environment Air Defense System

https://www.ll.mit.edu/about/history/sage-semi-automatic-ground-environment-air-defense-system
2•stmw•25m ago•0 comments

Twins reared apart do not exist

https://davidbessis.substack.com/p/twins-reared-apart-do-not-exist
2•bookofjoe•27m ago•1 comments

Ask HN: YouTube Only Showing Ads?

1•OhMeadhbh•29m ago•5 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".