frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Eric Barone makes $125,000 donation to the C# framework

https://xcancel.com/MonoGameTeam/status/2006010313112490446
1•HelloUsername•4m ago•0 comments

OpenAI's cash burn will be one of the big bubble questions of 2026

https://www.economist.com/leaders/2025/12/30/openais-cash-burn-will-be-one-of-the-big-bubble-ques...
1•1vuio0pswjnm7•5m ago•0 comments

Leveraging insights from neuroscience to build adaptive artificial intelligence

https://www.nature.com/articles/s41593-025-02169-w.epdf?sharing_token=sKV6GrdLVdSQW1UR9ICREtRgN0j...
1•artninja1988•5m ago•0 comments

The Honey Files Expose Major Fraud

https://docs.google.com/document/d/1Rj2AEI_Gr5WJbkor_sqVu4t9VhQtYcTazVwxJx9QYzU/edit
1•mirzap•6m ago•1 comments

Show HN: Virtual Try-On Chrome extension to see how products look on you

https://www.tryaing.com
1•rokontech•7m ago•0 comments

The GDB JIT Interface

https://bernsteinbear.com/blog/gdb-jit/
1•tekknolagi•12m ago•0 comments

Review: Commodore 64 Ultimate

https://www.wired.com/review/commodore-64-ultimate/
1•amichail•15m ago•0 comments

A Battle with My Blood

https://www.newyorker.com/culture/the-weekend-essay/a-battle-with-my-blood
2•amarcheschi•17m ago•0 comments

A small collection of text-only websites

https://shkspr.mobi/blog/2025/12/a-small-collection-of-text-only-websites/
1•edent•17m ago•0 comments

From silicon to Darude – Sandstorm: breaking famous synthesizer DSPs [video]

https://media.ccc.de/v/39c3-from-silicon-to-darude-sand-storm-breaking-famous-synthesizer-dsps
1•anigbrowl•17m ago•0 comments

U.S. cybersecurity experts plead guilty for ransomware attacks

https://www.tomshardware.com/tech-industry/cyber-security/u-s-cybersecurity-experts-plead-guilty-...
2•robotnikman•18m ago•0 comments

The moment GMV is labeled ARR, the business is built on sand

https://oswarld.com/eng/insight/250816_ai-arr-illusion-gmv-vs-arr
2•haebom•18m ago•0 comments

Tatiana Schlossberg, granddaughter of John F Kennedy, dies aged 35

https://www.bbc.com/news/articles/c338ne3relzo
2•onemoresoop•21m ago•1 comments

Tesla Owner Logs 10k Consecutive Miles on FSD Without a Single Intervention

https://driveteslacanada.ca/news/tesla-owner-logs-10000-consecutive-miles-fsd-without-intervention/
2•voisin•24m ago•0 comments

Humans May Be Able to Grow New Teeth Within Just 4 Years

https://www.popularmechanics.com/science/health/a69878870/human-new-tooth-regrowth-trials-japan-t...
4•rmason•26m ago•0 comments

AI Labs Are Solving the Power Crisis: The Onsite Gas Deep Dive

https://newsletter.semianalysis.com/p/how-ai-labs-are-solving-the-power
1•klelatti•28m ago•0 comments

How the "Marvelization" of Cinema Accelerates the Decline of Filmmaking

https://www.openculture.com/2025/11/how-the-marvelization-of-cinema-accelerates-the-decline-of-fi...
2•PaulHoule•30m ago•1 comments

Introducing RalphOS, a vibe-coded operating system

https://www.loom.com/embed/39e3a53db15b4a62b8b9935a638038ce
1•ghuntley•31m ago•1 comments

Write JavaScript with no hands: a tool for whistling code

https://velato.net/HandsFree/
1•klowin•31m ago•0 comments

You and Your Research – Richard Hamming (June 6, 1995) [video]

https://www.youtube.com/watch?v=a1zDuOPkMSw
1•TheAlchemist•32m ago•1 comments

Framework Is Showing

https://dbushell.com/2025/06/13/your-framework-is-showing-nextjs-error/
3•ulrischa•33m ago•1 comments

The Slow Media Manifesto

https://en.slow-media.net/manifesto
2•arguflow•33m ago•0 comments

NASA Craft to Face Heat-Shield Test on Its First Astronaut Flight Next Year

https://www.wsj.com/science/space-astronomy/nasa-heat-shield-test-astronaut-flight-1ce26626
1•JumpCrisscross•33m ago•0 comments

Show HN: Coffee Hop – Find work-friendly coffee shops by walking time

https://hop.coffee
2•dsmurrell•34m ago•0 comments

Ask HN: How good do I need to be to work at a startup?

1•anastasiaess•37m ago•1 comments

Show HN: tmpo – CLI time tracker with Git integration and local-first storage

https://github.com/DylanDevelops/tmpo
1•dylandevelops•38m ago•0 comments

Building a 64-Bit OS from Scratch with Claude Code

https://isene.org/2025/11/SimplicityOS.html
1•oidar•41m ago•0 comments

Show HN: AI Tutor for Math with Customer Hardware

https://app.toughtongueai.com/run/seminarlines-algebra-tutor-69513790800e1ea3b09856a5/
1•ajabhish•42m ago•0 comments

I had Claude build an automated generative art gallery to test my custom skills

https://josh-gree.github.io/gen-art-gallery/
1•josh-gree•42m ago•1 comments

Nexperia in no-man's-land: how the company became caught between 2 world powers

https://www.nrc.nl/nieuws/2025/12/30/nexperia-in-no-mans-land-how-a-chip-company-became-caught-be...
2•akyuu•44m 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•8mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

seba_dos1•8mo ago
Both are essential.
realaleris149•8mo ago
There are other commands?
incomplete•8mo 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•8mo 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".