frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: I've built a Cursor alternative in browser

https://playcode.io
1•ianberdin•1m ago•0 comments

Scientists are baffled as mysterious halo of red light appears over Italian town

https://www.dailymail.co.uk/sciencetech/article-15332127/Mysterious-halo-red-light-appears.html
1•sipofwater•4m ago•1 comments

Show HN: NLCS – A Natural Language Constraint System for LLMs

https://github.com/chwmath-netizen/NLCS-S-Engine
1•chwmath•6m ago•1 comments

Show HN: Rhyme CTRL – Phoneme-Based Rhyme Detection with Whisper AI

https://github.com/MunamWasi/RHYME-CTRL
1•Munam•7m ago•0 comments

Giant of the Attic: On the Majesty of Alan Moore

https://www.metropolitanreview.org/p/giant-of-the-attic
1•CharlesW•14m ago•0 comments

Built autonomous AI with ethical consensus (SE45 Triad) Need bridge funding

1•Eidollona•16m ago•0 comments

A Tale of Two AI Failures: Debugging a Simple Bug with LLMs

https://bitmovin.com/blog/hackathon-debugging-ai-tools-llms/
2•slederer•18m ago•0 comments

Count of Git Pushes Globally

https://innovationgraph.github.com/global-metrics/git-pushes
3•brokensegue•21m ago•0 comments

How to Short the Bubbliest Firms

https://www.economist.com/finance-and-economics/2025/11/26/how-to-short-the-bubbliest-firms
2•1vuio0pswjnm7•22m ago•0 comments

universal-tbxi-patchset: Mac OS New World ROM patchset to boot System 7.5

https://github.com/Wack0/universal-tbxi-patchset
2•classichasclass•23m ago•0 comments

Seattle passes 70% college grads for first time

https://www.seattletimes.com/seattle-news/data/seattle-passes-70-college-grads-for-first-time/
1•mbrubeck•24m ago•0 comments

"Bird flu virus could risk pandemic worse than Covid if it mutates"

https://www.reuters.com/business/healthcare-pharmaceuticals/bird-flu-poses-risk-pandemic-worse-th...
1•MilnerRoute•24m ago•1 comments

TextPert

https://chromewebstore.google.com/detail/textpert/ogfhfgojcfmgjnalejpbomllbkehmmch
1•Spark88•25m ago•0 comments

Logographs, World Models, and the Next Front in the Global AGI Race

https://medium.com/@ersun.warncke/logographs-world-models-and-the-next-front-in-the-global-agi-ra...
1•logsr•27m ago•0 comments

A first look at Django's new background tasks

https://roam.be/notes/2025/a-first-look-at-djangos-new-background-tasks/
4•roam•33m ago•0 comments

New Linux Patches Enhance Single-Threaded Performance on Many-Core CPUs

https://www.phoronix.com/news/Better-ST-Perf-Many-Core-CPUs
5•nateb2022•33m ago•0 comments

Personal finance burn rate tracker

https://paperright.xyz/
2•polalavik•33m ago•0 comments

Ulam-Like Spiral Experiments

https://alganet.github.io/spiral/
2•gaigalas•35m ago•0 comments

Poetiq: SOTA Reasoning on ARC-AGI

https://github.com/poetiq-ai/poetiq-arc-agi-solver
1•gfortaine•35m ago•0 comments

Google Shenanigans

https://huijzer.xyz/posts/128/google-shenanigans
4•huijzer•37m ago•0 comments

Optimizations in C++ compilers: a practical journey

https://queue.acm.org/detail.cfm?id=3372264
2•fanf2•37m ago•0 comments

Airbus A320 – intense solar radiation may corrupt data critical for flight

https://www.airbus.com/en/newsroom/press-releases/2025-11-airbus-update-on-a320-family-precaution...
2•pyrophoenix•39m ago•2 comments

Natural Language OS (NL-OS): An OS written and executed in natural language

https://zenodo.org/records/17755098
1•takeshi_sakamo•41m ago•0 comments

The quadratic knapsack problem (2025)

https://www.sciencedirect.com/science/article/pii/S0377221724009743
1•ahsillyme•42m ago•0 comments

Show HN: Convert Your Docs to Beauty

https://www.doc2q.com
1•rokontech•45m ago•0 comments

Why Study History? (1988)

https://www.theatlantic.com/magazine/archive/1988/11/why-study-history/670027/
3•breve•45m ago•0 comments

Africa's forests are now emitting more CO2 than they absorb

https://www.newscientist.com/article/2506287-africas-forests-are-now-emitting-more-co2-than-they-...
3•hackernj•46m ago•1 comments

Langjam Gamejam: Build a programming language and then use it to make a game

https://austinhenley.com/blog/langjamgamejam.html
4•azhenley•47m ago•0 comments

VMware isn't budging in its pursuit of Siemens for alleged unpaid licenses

https://www.theregister.com/2025/11/28/vmware_vs_siemens_fresh_filings/
2•ipeev•49m ago•1 comments

Open Source Pledge: Posit contributed $0.75M to OSS in the past 12 months

https://posit.co/blog/posit-open-source-pledge-2025
1•ionychal•50m 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•6mo 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•6mo 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•6mo ago
i can't take this seriously if there's no mention of the '--amend' option and 'rebase' command
OutOfHere•6mo ago
It missed "git switch" and "git restore".