frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

15 years later, Microsoft morged my diagram

https://nvie.com/posts/15-years-later/
2•cheeaun•9m ago•0 comments

Terminals should generate the 256-color palette

https://gist.github.com/jake-stewart/0a8ea46159a7da2c808e5be2177e1783
1•tosh•10m ago•1 comments

Show HN: Premeth – Ensuring that premed student always stay premeth

https://www.premeth.com/
1•dodobirdy•13m ago•0 comments

LCD-as-Aperture: A Computer That Fits Inside a Camera Lens

https://hackaday.com/2026/02/16/a-computer-that-fits-inside-a-camera-lens/
1•selvan•16m ago•0 comments

Show HN: LaminarDB – Streaming SQL database in Rust, zero-alloc hot path

https://github.com/laminardb/laminardb
1•sujitn•17m ago•1 comments

Historically first (0.01) release of Linux kernel (1991)

https://github.com/zavg/linux-0.01
1•tosh•18m ago•0 comments

Anthropic's pricing wall is routing enterprise revenue to OpenAI

2•luckygreen•20m ago•0 comments

Show HN: TokenMeter – Open-source observability layer for LLM token costs

https://github.com/ATMAECHO/TOKEN-METER
1•Mohit8880•21m ago•1 comments

Show HN: OpenClaw – Open-source personal AI agent that lives on your machine

https://github.com/openclaw/openclaw
1•YaraDori•28m ago•1 comments

TinyIce: Single-binary Icecast2-compatible server (auto-HTTPS, multi-tenant)

https://github.com/DatanoiseTV/tinyice
2•sylwester•29m ago•1 comments

John Carmack on GPU Scheduling

https://twitter.com/ID_AA_Carmack/status/2023805426345689198
1•tosh•29m ago•0 comments

Show HN: Claude Code as a Doctor for Claude Code

https://github.com/Ramsbaby/openclaw-self-healing
1•ramsbaby-dev•33m ago•0 comments

"Operation Windlord": C-17 Airlifts a Micro Nuclear Reactor for the First Time

https://www.twz.com/uncategorized/this-is-a-nuclear-reactor-packed-into-a-c-17-globemaster-iii
2•hitekker•35m ago•0 comments

Oral history of Robert P. Colwell [pdf]

https://www.sigmicro.org/media/oralhistories/colwell.pdf
1•luu•35m ago•0 comments

The Brain May Learn More from Rare Events Than from Repetition

https://www.ucsf.edu/news/2026/02/431511/brain-may-learn-more-rare-events-repetition
2•XzetaU8•36m ago•0 comments

Can personality change after 60? An eight-week program suggests it can

https://www.uni-heidelberg.de/en/newsroom/psychology-study-you-can-teach-an-old-dog-new-tricks
1•XzetaU8•44m ago•0 comments

Babel – Captchas for AI

https://babel.vercel.app/
1•aizk•50m ago•2 comments

Q4 2025: Where 8,500 institutional investors put $1.3T in new capital

https://13finsight.com/research/q4-2025-institutional-consensus-where-smart-money-converges
4•vicchenai•50m ago•0 comments

Humanoid Robots Perform Kung Fu at China's 2026 Spring Festival Gala

https://app.cctv.com/special/m/topic/index.html?itemId=2676
2•edweis•54m ago•0 comments

MCP works because tools are dumb. That assumption has an expiry date

https://productfit.substack.com/p/mcp-is-a-transitional-protocol-heres
1•niraj_kothawade•57m ago•1 comments

The AI War Is Over. Google Won

https://www.youtube.com/watch?v=hcE0NPYlo1w
1•cable2600•58m ago•2 comments

Welcome to the Software Industrial Revolution

https://cannoneyed.com/essays/software-industrial-revolution
2•bentaber•59m ago•1 comments

In Search of a Discord Replacement

https://no-bull.sh/blog/2026/02/16/in-search-of-a-discord-replacement/
3•ta8903•1h ago•2 comments

Rescuers Race to Find 10 Missing Skiers After Avalanche Near Lake Tahoe

https://www.nytimes.com/2026/02/17/weather/california-rain-snow-forecast.html
1•carabiner•1h ago•1 comments

Show HN: Heaven is real and it runs on a microkernel

https://aryal.schizoid.men/heaven_is_real_and_it_runs_on_a_microkernel.html
1•aryalaadi•1h ago•1 comments

Show HN: GhostTrace – See rejected decisions in AI agents

https://github.com/AhmedAllam0/ghosttrace
1•AhmedAllam0•1h ago•2 comments

POSIX-UEF POSIX compatibility layer and build environment for UEFI

https://gitlab.com/bztsrc/posix-uefi
2•shakna•1h ago•1 comments

Migrating from Postgres to ClickHouse for faster dashboards

https://docs.fiveonefour.com/guides/performant-dashboards/tutorial?lang=typescript
1•oatsandsugar•1h ago•1 comments

What happens when you type a url in the browser's address box and press enter?

https://github.com/alex/what-happens-when
1•buchanae•1h ago•1 comments

A New Complexity Theory for the Quantum Age

https://www.quantamagazine.org/a-new-complexity-theory-for-the-quantum-age-20260217/
1•rolph•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•9mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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