frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Paul Morphy

https://en.wikipedia.org/wiki/Paul_Morphy
1•nomilk•7m ago•0 comments

Learning State-Tracking from Code Using Linear RNNs

https://arxiv.org/abs/2602.14814
1•jul8234•8m ago•1 comments

Scientifically Ranking the Pokémon Crystal Trainers (2023) [video]

https://www.youtube.com/watch?v=Q6E6OaWb7LQ
2•aw1621107•10m ago•1 comments

Show HN: My attempt to make Vector search engine in Rust(350k Items, ~3.5ms Qs)

https://github.com/ronakgh97/blaze-db
2•ronakgh97•14m ago•0 comments

I Let Opus 4.6 and GSD Build a Programming Language

https://meshlang.dev/
2•andrew_da_miz•18m ago•1 comments

How the men in the Epstein files defeated MeToo

https://www.theverge.com/tech/874721/epstein-thiel-musk-trump-metoo
2•doener•21m ago•0 comments

GPT in 2 LOC

https://github.com/Lazarus-931/femto-gpt
2•AlazarManakelew•27m ago•0 comments

Why more men should be on Viagra and it's nothing to do with sex

2•benkan•28m ago•0 comments

Nematic: A Gameboy emulator with quasi-realistic LCD shaders

https://nematic.tulv.in/
3•atulvi•29m ago•1 comments

DNA Mutations Discovered in the Children of Chernobyl Workers

https://www.sciencealert.com/dna-mutations-discovered-in-the-children-of-chernobyl-workers
2•benkan•29m ago•0 comments

Secondhand laptop market goes 'mainstream' amid memory crunch

https://www.theregister.com/2026/02/16/refurbished_pcs_memory_crunch/
2•benkan•29m ago•0 comments

JWasm: Masm Compatible Assembler

https://github.com/Baron-von-Riedesel/JWasm
1•doener•31m ago•0 comments

In Defense of Boring Technology

https://aazar.me/posts/in-defense-of-boring-technology
1•44za12•31m ago•0 comments

"Signal sniffer" to detect Nancy Guthrie's pacemaker deployed

https://www.cbsnews.com/news/signal-sniffer-detect-nancy-guthrie-pacemaker-deployed-law-enforceme...
1•Brajeshwar•31m ago•0 comments

Show HN: Visualize S&P 500 financials with Sankey diagrams

https://10q10k.net
3•kyleslight•33m ago•0 comments

Federal Reserve set to loosen US bank rules in attempt to boost mortgage lending

https://www.ft.com/content/b36ca89c-39d6-47b6-9f62-0389ec8dda9d
3•petethomas•35m ago•0 comments

Show HN: Minimalist Glitch Art Maker (100% client-side)

https://yuyz0112.github.io/glitch-art-maker/
1•yz-yu•39m ago•0 comments

Show HN: VoiceNative Directory – Discover and Submit apps built for voice first

https://voicenativeapps.com
1•vikizz•41m ago•0 comments

A Scientific Table Generator

https://www.llambada.com/p/mz3XU3Jd/latex-table-generator
1•roody_wurlitzer•44m ago•0 comments

Show HN: Ucpify – JSON config to UCP-compliant commerce server

https://github.com/hemanth/ucpify
1•init0•46m ago•0 comments

An economist explains why he's still 'bullish on America' – AI and all

https://www.washingtonpost.com/podcasts/impromptu/an-economist-explains-why-hes-still-bullish-on-...
1•paulpauper•47m ago•0 comments

Submissions to Journals, by Terence Tao

https://www.math.ucla.edu/~tao/submissions_old.html
1•paulpauper•47m ago•0 comments

Publishing a Simple Paper as an Undergraduate

https://mathoverflow.net/questions/313961/publishing-a-simple-paper-as-an-undergraduate
1•paulpauper•48m ago•0 comments

SvarDOS – an open-source DOS distribution

http://svardos.org/
16•d_silin•56m ago•1 comments

Show HN: Agent Forge – Persistent memory and desktop automation for Claude Code

https://github.com/WeberG619/agent-forge
2•WeberG619•58m ago•0 comments

Fujitsu AI-Driven Software Development Platform

https://global.fujitsu/en-global/pr/news/2026/02/17-01
1•linguae•59m ago•1 comments

'Like a Virgin' songwriter Billy Steinberg dies at 74

1•poojagill•1h ago•1 comments

Anderson Cooper Reportedly Steps Away from 60 Minutes After Nearly 20 Years

1•poojagill•1h ago•0 comments

How Michael Abrash doubled Quake framerate

https://fabiensanglard.net/quake_asm_optimizations/
1•guiambros•1h ago•0 comments

Show HN: Alexa-like voice interface for OpenClaw

https://github.com/sachaabot/openclaw-voice-agent
1•sachaa•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".