frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Motion: An open source animation library for JavaScript, React and Vue

https://github.com/motiondivision/motion
1•doener•48s ago•0 comments

Cloudflare Workers let you deploy serverless code instantly across the globe

https://github.com/cloudflare/workers-sdk
1•doener•1m ago•0 comments

India's major airlines on 'verge of closing down' as high fuel costs sting

https://www.scmp.com/news/asia/south-asia/article/3351782/indias-major-airlines-verge-closing-dow...
1•JumpCrisscross•1m ago•0 comments

Supabase-JS: An isomorphic JavaScript client for Supabase

https://github.com/supabase/supabase-js
1•doener•2m ago•0 comments

How Fast Could Robot Production Scale Up?

https://epoch.ai/blog/how-fast-could-robot-production-scale-up
1•JumpCrisscross•4m ago•0 comments

U.S. Considering Foreign Designs, Shipyards for New Navy Frigate, Destroyer Work

https://news.usni.org/2026/04/24/u-s-considering-foreign-designs-shipyards-for-new-navy-frigate-d...
1•JumpCrisscross•6m ago•0 comments

Steve Hilton: British former Fox News host be California's next governor?

https://www.theguardian.com/us-news/2026/may/02/steve-hilton-california-governor-race
1•andsoitis•7m ago•0 comments

I'm building a pool logging and AI app. What would make this genuinely useful?

https://poolquant.com
1•geoffreycross01•9m ago•0 comments

MicroKanren in J (2020) [pdf]

https://minikanren.org/workshop/2020/minikanren-2020-paper3.pdf
1•tosh•10m ago•0 comments

When generative AI makes mistakes, are they the same as human errors?

https://link.springer.com/article/10.1007/s13347-026-01056-x
1•camilochs•10m ago•0 comments

System design reviewer – Need feedback

http://design-reviewer.s3-website-us-east-1.amazonaws.com
1•julivparikh•12m ago•1 comments

Started using Linux terminal on Android. Now I can do things no app store allows

https://www.makeuseof.com/linux-terminal-android-can-do-things-no-app-store-allows/
1•thunderbong•15m ago•0 comments

Open Design: Use Your Coding Agent as a Design Engine

https://github.com/nexu-io/open-design
3•steveharing1•16m ago•0 comments

GameStop is looking to buy eBay, report says. Both stocks are soaring

https://www.msn.com/en-us/money/economy/gamestop-is-looking-to-buy-ebay-report-says-both-stocks-a...
2•OrvalWintermute•17m ago•0 comments

LA's levitating amoeba: a new kind of museum

https://www.economist.com/culture/2026/04/30/las-levitating-amoeba-a-radically-new-kind-of-museum
1•andsoitis•18m ago•0 comments

Apple Raises Mac Mini's Starting Price to $799 After AI Frenzy Drains Supply

https://www.bloomberg.com/news/articles/2026-05-01/apple-raises-mac-mini-s-starting-price-to-799-...
1•helsinkiandrew•19m ago•0 comments

The Century-Long Pause in Fundamental Physics

https://danieltan.weblog.lol/2026/05/the-century-long-pause-in-fundamental-physics
1•danieltanfh95•19m ago•0 comments

Herbert Simon in 1979: on AI and robotics [video]

https://www.youtube.com/watch?v=p5c9ns0oeZg
1•clickglue•23m ago•0 comments

Craig Venter of Human Genome Project Dies at 79

https://www.economist.com/obituary/2026/05/01/craig-venter-raced-to-decode-the-human-genome
3•bookofjoe•24m ago•0 comments

Earning the Right to Have an Opinion on AI in the SDLC

https://sashankav.substack.com/p/earning-the-right-to-have-an-opinion
1•ColinEberhardt•24m ago•0 comments

Spirit Airlines shutting down after rescue talks collapse

https://www.bbc.com/news/articles/cqxlnrqjvzyo
2•berkeleyjunk•25m ago•0 comments

Quantization for Modern AI Systems (70-page free eBook)

https://pawankjha.substack.com/p/my-new-ebook-free-download-quantization
1•pawanjha25•26m ago•0 comments

What do you think is missing in most expense tracking apps?

https://play.google.com/store/apps/details?id=com.lowkeynova.fino&hl=en_US
1•enjoyingtime•30m ago•0 comments

Show HN: 3x Enemies Aggro Mod – Elden Ring Multiplayer Scaled Up to the Max

1•alansaber•33m ago•0 comments

Spirit Airlines canceled all flights and is going out of business

https://www.cnn.com/2026/05/02/business/spirit-to-halt-all-flights
2•teleforce•36m ago•1 comments

Multiple Hetzner Issues

https://status.hetzner.com/
1•teekert•37m ago•0 comments

Minnesota passes ban on fake AI nudes; app makers risk $500K fines

https://arstechnica.com/tech-policy/2026/05/minnesota-set-to-be-first-state-to-ban-nudification-a...
3•ndsipa_pomu•37m ago•1 comments

Dokkimi: Test every part of your app without code changes

https://www.dokkimi.com/
1•pugio•38m ago•0 comments

A New Mental Model for Work in the AI Age

https://dalehurley.com/posts/newmentalmodelforworkintheaiage/
1•dalemhurley•39m ago•2 comments

Heavy metal predators: diverse elemental enrichment across weapons of scorpions

https://royalsocietypublishing.org/rsif/article/23/237/20250523/481493/Heavy-metal-predators-dive...
1•bookofjoe•39m 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•12mo ago

Comments

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

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

to:

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

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

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

Oh and maybe cherry-pick

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