frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Jitter Done – a simple tool to understand your caffeine metabolism

https://jitterdone.com/
1•jere•3m ago•1 comments

What if I do not want to provide my cell phone number?

https://www.vendpark.io/faq/what-if-i-do-not-want-to-provide-my-cell-phone-number-new
1•kmstout•7m ago•0 comments

Post-Quantum Cryptography Migration at Meta: Framework, Lessons, and Takeaways

https://engineering.fb.com/2026/04/16/security/post-quantum-cryptography-migration-at-meta-framew...
1•birdculture•11m ago•0 comments

Claude Design System Prompt

https://gist.github.com/mcrowe/9da081f52e0740886d39e730852dba49
2•mcrowe•14m ago•1 comments

Construction delays hit 40% of US data centers planned for 2026

https://arstechnica.com/ai/2026/04/construction-delays-hit-40-of-us-data-centers-planned-for-2026/
1•cratermoon•15m ago•0 comments

A more efficient implementation of Shor's algorithm

https://lwn.net/Articles/1066156/
1•dralley•15m ago•0 comments

ICE Smashed Her Car Windows on the Way to the Doctor. She's Fighting Back[TORT$]

https://www.motherjones.com/politics/2026/04/ice-aliyah-rahman-tort-ntca-dhs/
2•rolph•17m ago•0 comments

Operational Readiness Criteria for Tool-Using LLM Agents

https://zenodo.org/records/19211676
1•rogelsjcorral•19m ago•0 comments

IMDB recent update: user reviews can't be accessed anymore without an account

https://old.reddit.com/r/movies/comments/1soome4/imdbs_very_recent_update_made_it_so_user_reviews/
3•amelius•20m ago•0 comments

New Theorems

https://monogate.org
1•zonked45•21m ago•0 comments

What Used to Be Viivikonna (2021)

https://emptiness.eu/field-reports/what-used-to-be-viivikonna/
1•carlos-menezes•26m ago•0 comments

Figma Make

https://www.figma.com/make/
1•gitgud•28m ago•0 comments

AI as Economic Warfare

https://ghuntley.com/warfare/
2•ganitam•31m ago•1 comments

Kelp DAO Exploited for $292M

https://www.coindesk.com/tech/2026/04/19/2026-s-biggest-crypto-exploit-kelp-dao-hit-for-usd292-mi...
1•scrlk•33m ago•0 comments

Fake Claude site installs malware that gives attackers access to your computer

https://www.malwarebytes.com/blog/scams/2026/04/fake-claude-site-installs-malware-that-gives-atta...
4•ilamont•33m ago•0 comments

KukuOS: A self-hosting, ELF-emitting x86 stack in Kuku Yalanji

https://github.com/australia/kukuos
1•thomasfromcdnjs•37m ago•0 comments

Coding agents and the growing 1% problem

https://try.works/coding-agents-and-the-growing-1-problem
1•try-working•37m ago•0 comments

Claude Code "AUTO MODE" – Not what you think

https://sunglasses.dev/blog/auto-mode-validates-runtime-security
1•azrollin•38m ago•1 comments

Reminder to Cull Old Pipelines

https://lowhangingdata.com/article/data-product-decay/
1•mryagerr•38m ago•0 comments

Book review: Out of nowhere

https://ndpr.nd.edu/reviews/out-of-nowhere-the-emergence-of-spacetime-in-theories-of-quantum-grav...
1•hhs•52m ago•0 comments

Modern Rendering Culling Techniques

https://krupitskas.com/posts/modern_culling_techniques/
1•krupitskas•53m ago•1 comments

Why the Stock Market Makes No Sense

https://www.nytimes.com/2026/04/18/opinion/wall-street-markets-iran-ai.html
1•2OEH8eoCRo0•55m ago•2 comments

Zero-Copy GPU Inference from WebAssembly on Apple Silicon

https://abacusnoir.com/2026/04/18/zero-copy-gpu-inference-from-webassembly-on-apple-silicon/
1•agambrahma•55m ago•0 comments

Objection: An AI judge for investigating media claims

https://www.objection.ai/press-release
1•hhs•56m ago•0 comments

Review: Machines of Loving Grace

https://jacobbrazeal.wordpress.com/2026/04/18/review-machines-of-loving-grace/
1•tibbar•58m ago•0 comments

See and hear galaxies evolving in new simulations

https://earthsky.org/space/see-and-hear-galaxies-evolving-new-simulations/
1•ganitam•59m ago•1 comments

What I Learned from Setting Up an Online Bookstore with WordPress Plugins

https://www.dilmandila.com/cheap-and-easy-online-bookstore-with-wordpress-plugins/
1•severine•1h ago•0 comments

Monthly Overview for Developer Tools – April 2026

https://semanticed.online/monthly-developer-tools-2026-04
1•alihassaanmug•1h ago•0 comments

Fundamentals of CuTe Layout Algebra and Category-Theoretic Interpretation [video]

https://www.youtube.com/watch?v=MVh_guNbWMA
1•matt_d•1h ago•0 comments

Show HN: Sostactic – polynomial inequalities using sums-of-squares in Lean

https://github.com/mmaaz-git/sostactic
2•mmaaz•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•11mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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