frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Greatest Show on Earth: The Evidence for Evolution

https://en.wikipedia.org/wiki/The_Greatest_Show_on_Earth:_The_Evidence_for_Evolution
1•chistev•40s ago•1 comments

Tesla's AI trainers don't trust its self-driving tech – or its safety stats

https://www.reuters.com/investigations/why-teslas-ai-trainers-dont-trust-its-self-driving-tech-or...
1•grassfedgeek•1m ago•1 comments

What if remote working, not AI, is to blame for weak junior hiring?

https://www.ft.com/content/2205e2d0-50dc-4e80-9bf7-78d0272276c0
1•uxhacker•2m ago•0 comments

Google DeepMind's AlphaProof Nexus solves decades-old math problems

https://the-decoder.com/google-deepminds-alphaproof-nexus-solves-decades-old-math-problems-for-a-...
1•gmays•5m ago•0 comments

Robinhood now lets your AI agents trade stocks

https://techcrunch.com/2026/05/27/robinhood-now-lets-your-ai-agents-trade-stocks/
7•wapasta•6m ago•0 comments

Sample Music with Chrome

https://www.tabsampler.com/
1•asolis0105•6m ago•0 comments

Mosquitoes seem to be getting over insect repellent

https://www.economist.com/science-and-technology/2026/05/28/mosquitoes-seem-to-be-getting-over-in...
1•Brajeshwar•6m ago•1 comments

Windows PC Industry Reacts to MacBook Neo

https://www.macrumors.com/2026/05/29/windows-pc-industry-reacts-to-macbook-neo/
1•tosh•7m ago•1 comments

National Design Service Websites Registry

https://thedreydossier.github.io/NDS_servers_map/
1•ravenical•8m ago•0 comments

Normalized Compression Distance

https://en.wikipedia.org/wiki/Normalized_compression_distance
1•woliveirajr•8m ago•0 comments

Another tech company says it will cut jobs amid pivot to AI

https://www.latimes.com/business/story/2026-05-29/another-tech-company-says-it-will-cut-hundreds-...
1•1vuio0pswjnm7•8m ago•0 comments

Zero Evidence of AI-Related Job Losses

https://www.apollo.com/wealth/the-daily-spark/zero-evidence-of-ai-related-job-losses
1•akyuu•8m ago•0 comments

Generative Unix CTF for RL

https://vmax.ai/team/unix-ctf-procedural-environments-for-unix-competence-reinforcement-learning
1•ronald_raygun•9m ago•0 comments

Open-source security mess: IBM and Red Hat bet $5B and 20k engineers can fix it

https://www.zdnet.com/article/open-source-security-is-a-mess-ibm-and-red-hat-bet-5-billion-to-fix...
1•CrankyBear•9m ago•0 comments

AionOS – self-healing microkernel in Zig (boots on real hardware)

https://github.com/rodancz/aion
1•rodancz•9m ago•0 comments

The origin of quorum systems in distributed computing [pdf]

https://vukolic.com/QuorumsOrigin.pdf
2•fanf2•10m ago•0 comments

Are all BSDs created equally? OpenBSD vs. NetBSD vs. FreeBSD (2018) [video]

https://www.youtube.com/watch?v=AvSPqo3_3vM
2•Caarticles•12m ago•0 comments

To see to it that the forces of Napoleon are driven out of Spain (1809)

https://wellsoc.org/society-member-pages/anecdotes-of-wellington/
2•backuprestore•12m ago•0 comments

Show HN: Train Claude Code's replacement (ds4 and pi and aoe)

https://github.com/njbrake/dotpi/tree/main
1•river_otter•14m ago•0 comments

But It Happened [video]

https://www.youtube.com/watch?v=tlQ7EoJDTQY
2•stock_toaster•15m ago•0 comments

The Religion of Speed

https://graybearding.bearblog.dev/the-religion-of-speed/
1•rglover•15m ago•1 comments

Waymo launches cheaper robotaxis in Los Angeles

https://www.latimes.com/business/story/2026-05-28/waymo-launches-services-with-cheaper-robotaxis-...
1•gamblor956•16m ago•0 comments

Any Cloud. Locally – New floci's brothers

https://floci.io
1•hectorvent•16m ago•0 comments

SiteGround's Icky Approach to AI in WordPress 7.0

https://www.rhyswynne.co.uk/sitegrounds-icky-approach-to-ai-in-wordpress-7-0/
1•speckx•20m ago•0 comments

Tokyo rent map: ¥70k gap between cheapest and priciest 1K (May 2026 data)

https://housingassist.com/blog/tokyo-rent-report-may-2026/
3•momentmaker•22m ago•0 comments

SpaceX skeptics' added reason for concern: Musk comments diverge from IPO filing

https://www.cnbc.com/2026/05/29/spacex-skeptics-concerned-as-musk-comments-diverge-from-ipo-filin...
5•1vuio0pswjnm7•22m ago•0 comments

SpaceX's index fund debut will look nothing like what most investors expect

https://www.investmentnews.com/practice-management/spacexs-index-fund-debut-will-look-nothing-lik...
4•avidiax•23m ago•1 comments

OldPhilly: Mapping historical photos from the Philadelphia City Archive

https://oldphilly.org/
2•h0rv•23m ago•0 comments

Why Your Pentest Report Is Lying to You (and What to Do About It)

https://www.pentesty.co/blog/why-your-pentest-report-is-lying-to-you
2•czaar•23m ago•0 comments

EU-Backed Appeals Center Accidentally Confirms DSA Censorship Regime Is Broken

https://reclaimthenet.org/eu-dsa-appeals-centre-report-exposes-content-censorship-failures
3•anonymousiam•26m 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•1y ago

Comments

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

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

to:

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

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

foobarkey•1y ago
Remove merge and add rebase and we agree :)

Oh and maybe cherry-pick

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